package com.schoolhelper.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.schoolhelper.entity.TUser;
import com.schoolhelper.vo.OrderDiscussVo;
import com.schoolhelper.vo.UserFollowerVo;

import java.util.List;

/**
 * (TUser)表服务接口
 *
 * @author makejava
 * @since 2021-04-23 21:03:36
 */

public interface TUserService extends IService<TUser> {
    String login(String username, String password);
    List<UserFollowerVo> getUserFollower(Integer userId);
    String getLoginState(String token);
    String loginQuit(String token);

    boolean registerInHx(String username, String password);
    TUser getByUsername(String username);
    TUser getByPhone(String phone);
}
